package divasoft;

import java.net.URL;
import javax.swing.ImageIcon;
/**
 *
 * @author 4ui
 */
public class TextureLoader extends Thread{
    public ImageIcon[] icon = new ImageIcon[17];
    public URL[] url = new URL[17];
    
    ImageIcon[] TextureLoad() {
        try {
        url[0] = new URL("http://dl.dropbox.com/u/49779473/texture/buk.jpg");
        url[1] = new URL("http://dl.dropbox.com/u/49779473/texture/dub-natural.jpg");
        url[2] = new URL("http://dl.dropbox.com/u/49779473/texture/karelia.jpg");
        url[3] = new URL("http://dl.dropbox.com/u/49779473/texture/koren-glynez.jpg");
        url[4] = new URL("http://dl.dropbox.com/u/49779473/texture/klen-red.jpg");
        url[5] = new URL("http://dl.dropbox.com/u/49779473/texture/maxagon.jpg");
        url[6] = new URL("http://dl.dropbox.com/u/49779473/texture/metalik.jpg");
        url[7] = new URL("http://dl.dropbox.com/u/49779473/texture/oreh-4104-4.jpg");
        url[8] = new URL("http://dl.dropbox.com/u/49779473/texture/sapeli-svetlay-vg.jpg");
        url[9] = new URL("http://dl.dropbox.com/u/49779473/texture/sapeli-temnay-vg.jpg");
        url[10] = new URL("http://dl.dropbox.com/u/49779473/texture/venge.jpg");
        url[11] = new URL("http://dl.dropbox.com/u/49779473/texture/vishny-svetlay-vg.jpg");
        url[12] = new URL("http://dl.dropbox.com/u/49779473/texture/vishny-v-glynez.jpg");
        url[13] = new URL("http://dl.dropbox.com/u/49779473/texture/vishny-viktoria.jpg");
        url[14] = new URL("http://dl.dropbox.com/u/49779473/texture/yabloko-tolledo.jpg");
        url[15] = new URL("http://dl.dropbox.com/u/49779473/texture/yasen-siziy.jpg");
        url[16] = new URL("http://dl.dropbox.com/u/49779473/texture/olha-v-glyniz.jpg");
        }
        catch (Exception e) {};
        for (int i=0; i<17; i++) {
            icon[i] = new ImageIcon(url[i]);
        }
        return icon;
    }
    
}
